package com.cinc.ebc.mm.mapper;

import java.math.BigDecimal;
import java.util.List;
import com.cinc.ebc.mm.entity.MmMaterialPickingDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 材料领用明细
 * @Author: jeecg-boot
 * @Date:   2023-04-16
 * @Version: V1.0
 */
public interface MmMaterialPickingDetailMapper extends BaseMapper<MmMaterialPickingDetail> {

	public boolean deleteByMainId(@Param("mainId") String mainId);

	public List<MmMaterialPickingDetail> selectByMainId(@Param("mainId") String mainId);

	int updateOutQtyById(@Param("id") String id, @Param("addQty")BigDecimal addQty);
}
